package com.web.portal.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 活动
 */
@Data
@ApiModel(description = "Activity")
@TableName("activity")
public class Activity implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField("activity_code")
    @ApiModelProperty(value = "活动编号(添加时可为空)")
    private String activityCode;
    @TableField("activity_content")
    @ApiModelProperty(value = "活动内容")
    private String activityContent;
    @TableField("type")
    @ApiModelProperty(value = "活动类型(0参加比赛 1会议 2党员 3团建 4聚餐)")
    private String type;
    @TableField("participants")
    @ApiModelProperty(value = "参与人")
    private String participants;

}
